@media all {

	/* hCards + hCalendars */
	.vcard,
	.vevent {
		line-height: 1.5em;
		border: 2px solid #e0e7b8 !important;
		padding: 30px 5px 5px 5px !important;
		border-radius: 8px;
		-moz-border-radius: 8px;
		-webkit-border-radius: 8px;
		margin: 0 0 1.5em 0 !important;
		/* small IE-Fix for background images */
		zoom: 1;
	}

	span.vcard,
	span.vevent {
		padding: 2px 1px 2px 70px !important;
		margin: 0 2px 0 !important;
	}

	.vcard {
		background-color: #f8f8ec;
		background-repeat: no-repeat;
		background-position: 5px 5px;
		background-image: url(icons/hcard.png) !important;
		background-image: url('') !important;

		a {
			padding-left: 11px;
			background: url(icons/external_link.png) top left no-repeat;
			background: url('') top left no-repeat;
			color: #679A06;
		}

		.adr {
			display: block;
			margin: 0.5em 0;
		}

		.email {
			font-family: Consolas, "Lucida Console", "Andale Mono", "Bitstream Vera Sans Mono", "Courier New", Courier;
		}
	}


	.vevent {
		background: #f8f8ec url(icons/hcalendar.png) 5px 5px no-repeat !important;
		background: #f8f8ec url('') 5px 5px no-repeat !important;
	}

	.vevent {
		a {
			padding-left: 11px;
			background: url(icons/external_link.png) top left no-repeat;
			background: url('') top left no-repeat;
			color: #679A06;
		}

		p {
			margin: 0;
		}

		.description {
			display: block;
			margin-top: 1em;
		}

		.location {
			display: block;
			color: #679A06;
		}

		.summary {
			display: block;
			color: #679A06;
			font-weight: bold;
		}
	}

	/* XFN relationship */

	a.xfnRelationship {
		padding-right: 26px;
		background-image: url(icons/xfn/xfn-small.png);
		background-image: url('');
		background-repeat: no-repeat;
		background-position: right;

		&[rel~="colleague"],
		&[rel~="co-worker"] {
			padding-right: 21px;
			background-image: url(icons/xfn/xfn-colleague.png);
			background-image: url('');
		}

		&[rel~="met"] {
			padding-right: 32px;
			background-image: url(icons/icon-xfn.png);
			background-image: url('');
		}

		&[rel~="colleague"][rel~="met"],
		&[rel~="co-worker"][rel~="met"] {
			padding-right: 26px;
			background-image: url(icons/xfn/xfn-colleague-met.png);
			background-image: url('');
		}

		&[rel~="friend"] {
			padding-right: 21px;
			background-image: url(icons/xfn/xfn-friend.png);
			background-image: url('');
		}

		&[rel~="friend"][rel~="met"] {
			padding-right: 26px;
			background-image: url(icons/xfn/xfn-friend-met.png);
			background-image: url('');
		}

		&[rel~="sweetheart"] {
			padding-right: 21px;
			background-image: url(icons/xfn/xfn-sweetheart.png);
			background-image: url('');
		}

		&[rel~="sweetheart"][rel~="met"] {
			padding-right: 26px;
			background-image: url(icons/xfn/xfn-sweetheart-met.png);
			background-image: url('');
		}

		&[rel~="child"] {
			padding-right: 21px;
			background-image: url(icons/xfn/xfn-child.png);
			background-image: url('');
		}

		&[rel~="parent"] {
			padding-right: 21px;
			background-image: url(icons/xfn/xfn-parent.png);
			background-image: url('');
		}

		&[rel~="spouse"] {
			padding-right: 21px;
			background-image: url(icons/xfn/xfn-spouse.png);
			background-image: url('');
		}

		&[rel~="me"] {
			padding-right: 21px;
			background-image: url(icons/xfn/xfn-me.png);
			background-image: url('');
		}
	}

	/* rel-tag */

	a[rel~="tag"] {
		padding-right: 32px;
		background: url(icons/icon-rel-tag.png);
		background: url('');
		background-repeat: no-repeat;
		background-position: right;
	}

	/* geo */

	abbr[class~="geo"] {
		padding-right: 32px;
		background: url(icons/icon-geo.png) no-repeat right;
		background: url('') no-repeat right;
		border: none;
		cursor: default;
	}
}